package cn.ac.jaas.isc.vegetable.pbms.service;

import cn.ac.jaas.isc.vegetable.common.core.util.R;
import com.baomidou.mybatisplus.extension.service.IService;
import cn.ac.jaas.isc.vegetable.pbms.api.entity.ArcDeviceType;

import java.util.List;

/**
 * 装置类型表
 *
 * @author 张高昌
 * @date 2022-05-21 18:03:32
 */
public interface ArcDeviceTypeService extends IService<ArcDeviceType> {

    /**
     * 保存
     *
     * @param arcDeviceType
     * @return
     */
    R saveDeviceType(ArcDeviceType arcDeviceType);

    /**
     * 修改
     *
     * @param arcDeviceType
     * @return
     */
    R updateDeviceTypeById(ArcDeviceType arcDeviceType);

    /**
     * 根据设备编码查询到装置类型
     *
     * @param equipmentCode
     * @return
     */
    List<ArcDeviceType> getDeviceTypeAll(String equipmentCode);

}
